﻿using MiddleMvcTask.BL.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Security;

namespace MiddleMvcTask.BL.Helpers
{
    public class Authenticator : IAuth
    {
        public void DoAuth(string username, bool remember)
        {
            FormsAuthentication.SetAuthCookie(username, remember);
        }
    }
}